package Method;

public class method2 {
    public static void main(String[] args) {
        printHelloworld(3);

        System.out.println("-----------------------------");

        printHelloworld(6);
    }
    public static void printHelloworld(int n){
        for (int i = 1; i <= n; i++) {
            System.out.println("Helloworld");
        }
        return;
    }

}
